package com.mdxx.xczd.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import com.mdxx.xczd.R;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class LocationActivity extends AppCompatActivity {


    @BindView(R.id.tv_location_test1)
    TextView mTvTest1;

    @BindView(R.id.tv_location_test2)
    TextView mTvTest2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_location);
        ButterKnife.bind(this);
    }


    @OnClick({R.id.tv_location_test1, R.id.tv_location_test2})
    void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_location_test1:
                startActivity(new Intent(LocationActivity.this,LocationReallyActivity.class));
                break;

            case R.id.tv_location_test2:
                startActivity(new Intent(LocationActivity.this,LocationTestActivity.class));
                break;
        }
    }
}
